package com.zbkj.crmeb.store.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zbkj.crmeb.store.model.PurchaseOrder;
import com.zbkj.crmeb.store.request.PurchaseOrderRequest;

import java.util.List;


/**
 * <p>
 * 采购单 Mapper 接口
 * </p>
 *
 * @author Mr.Zhang
 * @since 2020-05-28
 */
public interface PurchaseOrderDao extends BaseMapper<PurchaseOrder> {

   Integer getPurchaseOrderCount(String storeOrderId);

   PurchaseOrder getPurchaseOrderByOrderId(PurchaseOrderRequest request);

   List<PurchaseOrder> getPurchaseOrder(PurchaseOrderRequest request);
}
